﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Core.ViewModels
{
    public class DictionaryTypePostVM
    {
        public int Id { get; set; }

        [Required(ErrorMessage ="必填")]
        [MaxLength(10,ErrorMessage ="最大长度为10")]
        public string Name { get; set; }
    }
}
